package com.sunk;

import java.util.concurrent.TimeUnit;

public class Demo {
    public static void main(String[] args) throws InterruptedException {
        int count = 0;
        while (true){
            System.out.println("Hello world." + ++count);
            TimeUnit.SECONDS.sleep(10);
        }
    }
    public String sayHello(String name){
        System.out.println("hello " + name);
        return "hello " + name;
    }

}
